<!DOCTYPE html>
<html lang="en">
<head>
    <meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
    <title>首页</title>
    <!-- jq 在线压缩版 -->
    <script src="https://code.jquery.com/jquery-3.1.1.min.js"></script>
    <script src="https://cdn.jsdelivr.net/npm/jquery-validation@1.19.3/dist/jquery.validate.min.js"></script>

    <!-- jq 自己写的前端校验逻辑 -->
    <script src="/static/js/home.js"></script>

    <!-- 最新版本的 Bootstrap 核心 CSS 文件 -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"
          integrity="sha384-HSMxcRTRxnN+Bdg0JdbxYKrThecOKuH5zCYotlSAcp1+c8xmyTe9GYg1l9a69psu" crossorigin="anonymous">
    <!-- 可选的 Bootstrap 主题文件（一般不用引入） -->
    <link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap-theme.min.css"
          integrity="sha384-6pzBo3FDv/PJ8r2KRkGHifhEocL+1X2rVCTTkUfGk7/0pbek5mMa1upzvWbrUbOZ" crossorigin="anonymous">
    <!-- 最新的 Bootstrap 核心 JavaScript 文件 -->
    <script src="https://stackpath.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"
            integrity="sha384-aJ21OjlMXNL5UyIl/XNwTMqvzeRMZH2w8c5cRVpzpU8Y5bApTppSuUkhZXN0VxHd"
            crossorigin="anonymous"></script>
</head>
<body style="background-color:#F5F5DC">
{{template "nav.html" .}}

<!-- 轮播图 -->
<div class="container" style="height: 300px">
    <div class="carousel slide" data-ride="carousel" style="height: 100%">
        <div class="carousel-inner" style="height: 100%">
            <div class="item active" style="height: 100%">
                <img src="http://lorempixel.com/1200/400/" alt="" class="container" style="height: 100%">
            </div>
            <div class="item" style="height: 100%">
                <img src="http://lorempixel.com/1200/401/" alt="" class="container" style="height: 100%">
            </div>
            <div class="item" style="height: 100%">
                <img src="http://lorempixel.com/1200/402/" alt="" class="container" style="height: 100%">
            </div>
            <div class="item" style="height: 100%">
                <img src="http://lorempixel.com/1200/403/" alt="" class="container" style="height: 100%">
            </div>
        </div>
        <ul class="carousel-indicators">
            <li class="active" data-target=".carousel" data-slide-to="0"></li>
            <li data-target=".carousel" data-slide-to="1"></li>
            <li data-target=".carousel" data-slide-to="2"></li>
            <li data-target=".carousel" data-slide-to="3"></li>
        </ul>
        <a href="javascript:" class="carousel-control left" data-target=".carousel" data-slide="prev">
            <span class="glyphicon glyphicon-chevron-left"></span>
        </a>
        <a href="javascript:" class="carousel-control right" data-target=".carousel" data-slide="next">
            <span class="glyphicon glyphicon-chevron-right"></span>
        </a>
    </div>
</div>

<!-- 轮播文字 -->
<div class="container" style="height: 100px">
    <div class="carousel slide" data-ride="carousel" style="height: 100%">
        <div class="carousel-inner" style="height: 100%">
            <div class="item active" style="height: 100%">
                <div class="carousel-caption" style="height: 100%">
                    <h3 id="word1"></h3>
                    <script src="https://v1.hitokoto.cn/?encode=js&select=%23word1" defer></script>
                </div>
            </div>
            <div class="item" style="height: 100%">
                <div class="carousel-caption" style="height: 100%">
                    <h3 id="word2"></h3>
                </div>
            </div>
            <div class="item" style="height: 100%">
                <div class="carousel-caption" style="height: 100%">
                    <h3 id="word3"></h3>
                    <script src="https://v1.hitokoto.cn/?encode=js&select=%23word3" defer></script>
                </div>
            </div>
            <div class="item" style="height: 100%">
                <div class="carousel-caption" style="height: 100%">
                    <h3 id="word4"></h3>
                </div>
            </div>
        </div>
    </div>
</div>

<!-- 博客文章 -->
<div class="col-md-7 col-md-push-1" id="leftBottom">
    <!--    <div class="row">-->
    <!--        <div class="thumbnail col-md-12">-->
    <!--            <div class="caption col-md-2">-->
    <!--                <img src="http://img.kaiyanapp.com/0-c4834e44d2a790abb3a66b53a2c6ba81.jpeg?imageMogr2/quality/100!/format/jpg"-->
    <!--                     alt="hello world" style="width: 100%; height: 100%"/>-->
    <!--            </div>-->
    <!--            <div class="caption col-md-8">-->
    <!--                <p><a href='#'>dddd</a></p>-->
    <!--            </div>-->
    <!--        </div>-->
    <!--    </div>-->
</div>


<!-- 热点资讯 -->

<div class="col-md-2 col-md-push-2">
    <div class="row">
        <div class="thumbnail col-md-12">
            <a href="#">
                <script type="text/javascript" src="https://api.xygeng.cn/one/get/"></script>
            </a>
        </div>
    </div>
    <div class="row">
        <div class="thumbnail col-md-12">
            <a href="#">
                <script type="text/javascript" src="https://api.xygeng.cn/one/get/"></script>
            </a>
        </div>
    </div>
    <div class="row">
        <div class="thumbnail col-md-12">
            <a href="#">
                <script type="text/javascript" src="https://api.xygeng.cn/one/get/"></script>
            </a>
        </div>
    </div>
    <div class="row">
        <div class="thumbnail col-md-12">
            <a href="#">
                <script type="text/javascript" src="https://api.xygeng.cn/one/get/"></script>
            </a>
        </div>
    </div>
    <div class="row">
        <div class="thumbnail col-md-12">
            <a href="#">
                <script type="text/javascript" src="https://api.xygeng.cn/one/get/"></script>
            </a>
        </div>
    </div>
</div>

</body>
</html>